package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-09-25
 */
@TableName("c_cus_group")
public class CusGroup extends Model<CusGroup> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 一个范围内的用户(一对多关系),这里通常为地址
     */
	@TableField("cus_group")
	private String cusGroup;
	@TableField("x_code")
	private String xCode;
	@TableField("y_code")
	private String yCode;
    /**
     * 首字母
     */
	@TableField("first_word")
	private String firstWord;


	public String getxCode() {
		return xCode;
	}

	public void setxCode(String xCode) {
		this.xCode = xCode;
	}

	public String getyCode() {
		return yCode;
	}

	public void setyCode(String yCode) {
		this.yCode = yCode;
	}

	public String getFirstWord() {
		return firstWord;
	}

	public void setFirstWord(String firstWord) {
		this.firstWord = firstWord;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCusGroup() {
		return cusGroup;
	}

	public void setCusGroup(String cusGroup) {
		this.cusGroup = cusGroup;
	}


	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
